<template>
    <div class="app-container home">
   
        <CommonUse :user-info="userInfo"/>
        <el-row :gutter="20" style="display: none">
            <el-col :lg="8"  >
                <el-card class="update-log">
                    <div slot="header" class="clearfix">
                        <span>统计</span>
                    </div>
                    <!--                    <line-chart/>-->
                </el-card>
            </el-col>
          <el-col :lg="8"  >
            <el-card class="update-log">
              <div slot="header" class="clearfix">
                <span>统计</span>
              </div>
              <!--                    <line-chart/>-->
            </el-card>
          </el-col>
<!--            <el-col :lg="8" :md="12" :sm="24" :xs="24">-->
<!--                <el-card class="update-log">-->
<!--                    <div slot="header" class="clearfix">-->
<!--                        <span>疾病统计</span>-->
<!--                    </div>-->
<!--                    &lt;!&ndash;                    <pie-chart/>&ndash;&gt;-->
<!--                </el-card>-->
<!--            </el-col>-->
        </el-row>
    </div>
</template>

<script lang="ts" setup>
import CommonUse from '@/components/welcome/CommonUse.vue';
import {useRouter} from "vue-router"
import {useUserStoreHook} from "@/store/modules/user"

const {proxy} = getCurrentInstance() as any
const useUserStore = useUserStoreHook()
const router = useRouter()
const userInfo = <UserInfoBusi>useUserStore.user.userInfo
</script>

<script lang="ts">
export default {
    name: 'Index'
}
</script>

<style lang="scss" scoped>
.block {
    width: 100%;
    height: 100%;
    background-color: #fff;
}

.search-btn {
    width: 60px;
    margin-left: 15px;
    margin-top: 4px;
}

.home {
    blockquote {
        padding: 10px 20px;
        margin: 0 0 20px;
        font-size: 17.5px;
        border-left: 5px solid #eee;
    }

    hr {
        margin-top: 20px;
        margin-bottom: 20px;
        border: 0;
        border-top: 1px solid #eee;
    }

    .col-item {
        margin-bottom: 20px;
    }

    ul {
        padding: 0;
        margin: 0;
    }

    // font-family: "open sans",
    // "Helvetica Neue",
    // Helvetica,
    // Arial,
    // sans-serif;
    // font-size: 13px;
    // color: #676a6c;
    // overflow-x: hidden;

    ul {
        list-style-type: none;
    }

    h4 {
        margin-top: 0px;
    }

    h2 {
        margin-top: 10px;
        font-size: 26px;
        font-weight: 100;
    }

    p {
        margin-top: 10px;

        b {
            font-weight: 700;
        }
    }

    .update-log {
        ol {
            display: block;
            list-style-type: decimal;
            margin-block-start: 1em;
            margin-block-end: 1em;
            margin-inline-start: 0;
            margin-inline-end: 0;
            padding-inline-start: 40px;
        }
    }
}

.charts_content {
    height: calc(100% - 207px);
    margin-top: 30px;

    > div {
        height: 100%;

        > div {
            height: calc(100% - 14px);
        }
    }
}
</style>

